/**
 Copyright (C) 2013 Yuyao Liang

 This source code is release under the BSD License.

 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE.  See the license for more details.

 Created on Nov 7, 2013 1:45:16 PM
 */
package com.googlecode.backtest.document;

import java.util.Iterator;

import com.google.srclib.base.IDable;
import com.google.srclib.base.Versionable;
import com.googlecode.backtest.dataset.provider.DataProvider;

/**
 * @author lianyuy
 * 
 */
public interface IBackTestContent<T> extends IDable, Versionable {

	void addContent(T content);

	T getContent(int index);

	Iterator<T> getIterator();

	void setprovider(DataProvider provider);

	DataProvider getProvider();
}
